<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/base.css">
    <style>
        div {
            height: 200px;
            width: 200px;
            margin: 20px auto;
            animation-name: move;
            animation-duration: 10s;
            background-color: pink;
        }

        /* 动画序列 */
        /* @keyframes move {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(700px);
            }
        } */
        @keyframes move {
            0% {
                transform: translate(0, 0);
            }

            25% {
                transform: translate(500px, 0);
            }

            50% {
                transform: translate(500px, 500px);
            }

            75% {
                transform: translate(0px, 500px);
            }

            100% {
                transform: translate(0, 0);
            }
        }
    </style>
</head>

<body>
    <div>
    </div>
</body>

</html>